/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tutorial.DesignPatterns.Visitor;

/**
 * 
 * @author Boogie
 */
public class VistorMain {
    public static void main(String[] args){
        ThisAndThatVisitor visitor = new ThisAndThatVisitor();
        
        This thiz = new This();
        That that = new That();
        TheOther other = new TheOther();
        
        thiz.accept(visitor);
        that.accept(visitor);
        other.accept(visitor);
        
        
        
    }
}
